<div id="sub-menu-box"> <?php echo $html->admin_link(' &laquo; 返回留言列表', $referer); ?></div>
<div id="content">
<form action="" id="settings" method="post">
    <table>
      <tbody>
        <tr>
          <th>操作</th>
          <td><?php echo $html->admin_link('删除', '/manage_guestbook/delete/' . $post->id . '?' . $referer); ?></td>
        </tr>
        <tr>
          <th>留言标题</th>
          <td><?php echo $post->title; ?></td>
        </tr>
        <tr>
          <th>留言人</th>
          <td><?php echo $post->author; ?></td>
        </tr>

        <tr>
          <th>联系方式</th>
          <td><?php echo $post->author_contact; ?></td>
        </tr>
        <tr>
          <th>留言时间</th>
          <td><?php echo date('Y-m-d H:i', $post->post_time); ?></td>
        </tr>
        <tr>
          <th>留言IP</th>
          <td><?php echo $post->author_ip; ?></td>
        </tr>
        <tr>
          <th>留言内容</th>
          <td><?php echo $post->content; ?></td>
        </tr>
        <tr>
          <th>审核状态</th>
          <td><?php echo $html->checkbox('Guestbook/shenhe', array('value'=>1)); ?></td>
        </tr>
      <tr>
          <th>回复</th> 
          <td><?php echo $html->textarea('Guestbook/reply', array('cols'=>50, 'rows'=>10)); ?>
    </td></tr>
        <tr class="finalrow">
          <th></th>

          <td><input value="提交" type="submit">
          </td>
        </tr>
      </tbody>
    </table>

  </form>

</div>
